import com.wogu.form.Form;
import com.wogu.form.annotation.*;

public class MyForm extends Form {
	
	@Required
	@Email
	public String email;
	
	@Required
	@Max(100)
	@Min(18)
	public String age;
	
	@Required
	@MaxLength(200)
	@MinLength(20)
	public String description;
	
	@Required
	@RegExp("^[a-z0-9_]{6,20}$")
	public String password;
	
	@Required
	@Equal("password")
	public String comfirmPassword;
	
	@RegExp("^\\d+$")
	public String[] ids;
	
	@Mobile
	public String mobile;
	
	@Zh
	public String chineseName;
}